扩充bresenham画线算法,使之能利用象限间的对称性来生成具有任意斜率的...答:中点画线法 void MidPoint_Line(x0, y0, x1, y1, color) i nt x0, y0, x1, y1, color; { int a, b, delta1, delta2, d, x, y; a=y0-y1; b=x1-x0; d=2*a+b; delta1=2*a; delta2=2*(a+b); x=x0; y=y0;putpixel(x, y, color); while(x0)return 1; if...